You can verify the active code page by typing chcp from the DOS prompt.
可以在 DOS 提示下输入 chcp 来检查活动的编码页。
Char string according to the active code page for a calling thread.
根据调用线程的active code page,调用函数WideCharToMultiByte把wchar _ t变为char字符串。
Let us change the active code page to 1252 by typing CHCP 1252 and run the program again. The result is.
让我们输入chcp 1252,将活动编码页改为1252,并再次运行这个程序。
应用推荐